﻿#ifndef HMI_H
#define HMI_H


class Hmi
{
public:
    Hmi();

    int busy() const;
    void setBusy(int busy);

    int mode() const;
    void setMode(int mode);

    int state() const;
    void setState(int state);

    int instruct() const;
    void setInstruct(int instruct);

    int allowAutiSwi() const;
    void setAllowAutiSwi(int allowAutiSwi);

    int b4() const;
    void setB4(int b4);

    int reset() const;
    void setReset(int reset);

    int b5() const;
    void setB5(int b5);

    int emrst() const;
    void setEmrst(int emrst);

    int b6() const;
    void setB6(int b6);

    int emergencyStop() const;
    void setEmergencyStop(int emergencyStop);

    int b7() const;
    void setB7(int b7);

    int enginnerAuth() const;
    void setEnginnerAuth(int enginnerAuth);

    int cmd() const;
    void setCmd(int cmd);

    double x() const;
    void setX(double x);

    double y() const;
    void setY(double y);

    double z() const;
    void setZ(double z);

private:
    int m_busy;
    int m_mode;
    int m_state;
    int m_instruct;
    int m_allowAutiSwi;
    int m_b4;
    int m_reset;
    int m_b5;
    int m_emrst;
    int m_b6;
    int m_emergencyStop;
    int m_b7;
    int m_enginnerAuth;
    int m_cmd;
    double m_x;
    double m_y;
    double m_z;
};

#endif // HMI_H
